//
//  UILabel+ZJChangeLineSpaceAndWordSpace.h
//  LovingPartyBuilding
//
//  Created by ZJ on 2017/5/3.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel (ZJChangeLineSpaceAndWordSpace)

/**
 *  改变行间距
 */
+ (void)changeLineSpaceForLabel:(UILabel *)label WithSpace:(float)space;

/**
 *  改变字间距
 */
+ (void)changeWordSpaceForLabel:(UILabel *)label WithSpace:(float)space;

/**
 *  改变行间距和字间距
 */
+ (void)changeSpaceForLabel:(UILabel *)label withLineSpace:(float)lineSpace WordSpace:(float)wordSpace;

+ (CGFloat)zj_changeLineSpaceForLabel:(UILabel *)label WithSpace:(float)space;

/** 给UILabel设置行间距 */
-(void)setLabelSpace:(CGFloat)space;
/** 给UILabel设置行间距 {前排字带颜色}*/
-(void)setLabelSpace:(CGFloat)space MarkString:(NSString *)markString markColor:(UIColor *)markColor;

/**计算UILabel的高度(带有行间距的情况)*/
- (CGFloat)getSpaceLabelHeightFromSpace:(CGFloat)Space;
@end
